using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Thaire.Investment.Domains.Transaction
{
   
    public class FixincomesecuritiesAmortizeSchedule 
    {
        #region Properties
              // FIXINCOMESECURITIES_AMORTIZE_SCHEDULE_ID
        public virtual int FixincomesecuritiesAmortizeScheduleID { set; get; }
      // FIXINCOMESECURITIES_HEADER_ID
        public virtual int? FixincomesecuritiesHeaderID { set; get; }
      // PAYMENT_DATE
        public virtual DateTime? PaymentDate { set; get; }
      // PAYMENT
        public virtual decimal? Payment { set; get; }
        public virtual string CreateBy { get; set; }

        public virtual DateTime? CreateDate { get; set; }
        #endregion

        

        public override bool Equals(object obj)
        {
            if(obj == null)
                return false;
            if(obj.GetType() != typeof(FixincomesecuritiesAmortizeSchedule) && !(obj is FixincomesecuritiesAmortizeSchedule))
                return false;
            return ToString().Equals(obj.ToString());
        }

        public override int GetHashCode()
        {
            return ToString().GetHashCode();
        }

        public override string ToString()
        {
            return string.Format("{0}",FixincomesecuritiesAmortizeScheduleID);
        }


      
    }


}